<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的 - 共享设备平台</title>
    <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
    <style>
        .safe-area-top {
            padding-top: env(safe-area-inset-top, 20px);
        }
        .safe-area-bottom {
            padding-bottom: env(safe-area-inset-bottom, 20px);
        }
    </style>
</head>
<body class="bg-gray-100">
    <div class="max-w-md mx-auto bg-gray-100 min-h-screen flex flex-col">
        <!-- 用户信息区域 -->
        <div class="bg-blue-500 px-4 pt-12 pb-6 safe-area-top">
            <div class="flex items-center">
                <img class="h-16 w-16 rounded-full border-2 border-white" src="https://via.placeholder.com/150" alt="用户头像">
                <div class="ml-4 text-white">
                    <div class="text-lg font-semibold">张三</div>
                    <div class="text-sm opacity-90">ID: 12345678</div>
                    <div class="text-sm opacity-90">手机号: 138****8888</div>
                </div>
                <div class="ml-auto">
                    <a href="#" class="text-white">
                        <i class="fas fa-cog text-xl"></i>
                    </a>
                </div>
            </div>
            
            <!-- 钱包卡片 -->
            <div class="bg-white rounded-lg shadow-md mt-4 p-4">
                <div class="flex justify-between items-center">
                    <div class="text-gray-700">
                        <div class="text-sm">钱包余额</div>
                        <div class="text-xl font-bold text-blue-500">¥158.56</div>
                    </div>
                    <button class="bg-blue-500 text-white px-4 py-1 rounded-full text-sm">
                        充值
                    </button>
                </div>
                <div class="flex mt-4 text-center">
                    <div class="flex-1">
                        <div class="text-gray-500 text-xs">储值卡余额</div>
                        <div class="text-gray-700 font-medium">¥50.00</div>
                    </div>
                    <div class="flex-1">
                        <div class="text-gray-500 text-xs">储值卡赠额</div>
                        <div class="text-gray-700 font-medium">¥5.00</div>
                    </div>
                    <div class="flex-1">
                        <div class="text-gray-500 text-xs">已交押金</div>
                        <div class="text-gray-700 font-medium">¥100.00</div>
                    </div>
                </div>
            </div>
        </div>
        
        <!-- 功能区域 -->
        <div class="bg-white p-4 mt-4">
            <div class="grid grid-cols-4 gap-4 text-center">
                <a href="#" class="p-2">
                    <div class="h-12 w-12 bg-blue-100 rounded-full flex items-center justify-center mx-auto">
                        <i class="fas fa-qrcode text-blue-500"></i>
                    </div>
                    <div class="mt-1 text-sm">扫一扫</div>
                </a>
                <a href="#" class="p-2">
                    <div class="h-12 w-12 bg-green-100 rounded-full flex items-center justify-center mx-auto">
                        <i class="fas fa-history text-green-500"></i>
                    </div>
                    <div class="mt-1 text-sm">使用记录</div>
                </a>
                <a href="#" class="p-2">
                    <div class="h-12 w-12 bg-purple-100 rounded-full flex items-center justify-center mx-auto">
                        <i class="fas fa-gift text-purple-500"></i>
                    </div>
                    <div class="mt-1 text-sm">优惠券</div>
                </a>
                <a href="#" class="p-2">
                    <div class="h-12 w-12 bg-yellow-100 rounded-full flex items-center justify-center mx-auto">
                        <i class="fas fa-share-alt text-yellow-500"></i>
                    </div>
                    <div class="mt-1 text-sm">邀请好友</div>
                </a>
            </div>
        </div>
        
        <!-- 投资入口 -->
        <a href="earnings.html" class="bg-white mt-4 p-4 flex items-center">
            <div class="h-10 w-10 bg-amber-100 rounded-full flex items-center justify-center">
                <i class="fas fa-chart-line text-amber-500"></i>
            </div>
            <div class="ml-4 flex-1">
                <div class="text-gray-800 font-medium">收益中心</div>
                <div class="text-gray-500 text-sm">投资收益、分享收益一目了然</div>
            </div>
            <i class="fas fa-chevron-right text-gray-400"></i>
        </a>
        
        <!-- 设置菜单 -->
        <div class="bg-white mt-4 rounded-lg overflow-hidden">
            <a href="#" class="p-4 flex items-center border-b border-gray-100">
                <i class="fas fa-address-card text-gray-500 w-6"></i>
                <span class="ml-2 flex-1">个人资料</span>
                <i class="fas fa-chevron-right text-gray-400"></i>
            </a>
            <a href="#" class="p-4 flex items-center border-b border-gray-100">
                <i class="fas fa-map-marker-alt text-gray-500 w-6"></i>
                <span class="ml-2 flex-1">常用地址</span>
                <i class="fas fa-chevron-right text-gray-400"></i>
            </a>
            <a href="#" class="p-4 flex items-center border-b border-gray-100">
                <i class="fas fa-headset text-gray-500 w-6"></i>
                <span class="ml-2 flex-1">联系客服</span>
                <i class="fas fa-chevron-right text-gray-400"></i>
            </a>
            <a href="#" class="p-4 flex items-center">
                <i class="fas fa-cog text-gray-500 w-6"></i>
                <span class="ml-2 flex-1">设置</span>
                <i class="fas fa-chevron-right text-gray-400"></i>
            </a>
        </div>
        
        <!-- 底部导航 -->
        <div class="mt-auto pt-8">
            <div class="fixed bottom-0 left-0 right-0 bg-white border-t border-gray-200 flex safe-area-bottom">
                <a href="#" class="flex-1 py-2 flex flex-col items-center justify-center">
                    <i class="fas fa-user text-blue-500 text-xl"></i>
                    <span class="mt-1 text-xs text-blue-500">我的</span>
                </a>
            </div>
        </div>
    </div>

    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 页面加载完成后的初始化代码
            console.log('我的页面加载完成');
        });
    </script>
</body>
</html> 